{{define "widget/xm-select"}}
<div class="admin-xm-block">
<div class="xm-select {{.CssClass}}"
     style="{{.CssStyle}}"
     id="{{.Name}}"
     name="{{.Name}}"
     tips="{{.Placeholder}}"
     value="{{Join .Value .Separator}}"
     multiple1="{{.Multiple}}"
     separator="{{.Separator}}"
     disabled="{{.Disabled}}"
     lay-verify="{{.UIVerify}}"
     options="[{{range $key,$val := .FromData}}{name:'{{$val.__mc_value}}', value:'{{$key}}'},{{end}}]"
></div></div>
{{end}}